package com.usercarshow;

import com.view.MainView;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Display;
import android.view.MotionEvent;
import android.view.Window;
import android.view.WindowManager;

public class MainActivity extends Activity {
	/** 定义系统级别的变量 */
	public static MainActivity main;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		((WindowManager) getSystemService(WINDOW_SERVICE)).getDefaultDisplay();
		MainActivity.main = this;
		setContentView(new MainView(getApplicationContext(), 1300, 366, 325));
	}
}